package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 律师列表参数
 * @author LikeAdmin
 */
@Data
@ApiModel("律师列表更新参数")
public class LegalLawyerUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "")
    private Long id;

    @NotNull(message = "realname参数缺失")
    @ApiModelProperty(value = "真实姓名")
    private String realname;

    @NotNull(message = "gender参数缺失")
    @ApiModelProperty(value = "性别 1男 2女")
    private Integer gender;

    @NotNull(message = "idNumber参数缺失")
    @ApiModelProperty(value = "身份证号")
    private String idNumber;

    @NotNull(message = "mobile参数缺失")
    @ApiModelProperty(value = "联系方式-手机号")
    private String mobile;

    @NotNull(message = "lawOffice参数缺失")
    @ApiModelProperty(value = "所属律所")
    private String lawOffice;

    @NotNull(message = "lawOfficeAddress参数缺失")
    @ApiModelProperty(value = "律所地址")
    private String lawOfficeAddress;

    @NotNull(message = "workBeginDate参数缺失")
    @ApiModelProperty(value = "从业开始时间")
    private String workBeginDate;

    @NotNull(message = "jobType参数缺失")
    @ApiModelProperty(value = "执业分类 1专职律师 2兼职律师")
    private Integer jobType;

    @NotNull(message = "lawyerCertFiles参数缺失")
    @ApiModelProperty(value = "职业证书文件")
    private String lawyerCertFiles;

    @NotNull(message = "otherCertFiles参数缺失")
    @ApiModelProperty(value = "其他辅助证书文件")
    private String otherCertFiles;

    @NotNull(message = "idCardFiles参数缺失")
    @ApiModelProperty(value = "身份证照片")
    private String idCardFiles;

    @NotNull(message = "skilledField参数缺失")
    @ApiModelProperty(value = "擅长领域")
    private String skilledField;

    @NotNull(message = "businessScope参数缺失")
    @ApiModelProperty(value = "业务范围")
    private String businessScope;

    @NotNull(message = "salesman参数缺失")
    @ApiModelProperty(value = "所属销售")
    private Long salesman;

}
